package cn.cmcc.online.smsapi.ui.model;

/**
 * Created by ZhangYifan on 2017/6/19.
 */

public class SmsProgress {
    // 进度条对应的业务名称，如“30元流量包使用情况”
    private String mTitle;

    // 全部量
    private float mTotal;

    // 已使用量
    private float mUsed;

    // 剩余量
    private float mLeft;

    // 单位名称，如“MB”、“分钟”、“元”
    private String mUnitName;

    public SmsProgress(String title, float total, float used, float left, String unitName) {
        this.mTitle = title;
        this.mTotal = total;
        this.mUsed = used;
        this.mLeft = left;
        this.mUnitName = unitName;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public float getTotal() {
        return mTotal;
    }

    public void setTotal(float total) {
        mTotal = total;
    }

    public float getUsed() {
        return mUsed;
    }

    public void setUsed(float used) {
        mUsed = used;
    }

    public float getLeft() {
        return mLeft;
    }

    public void setLeft(float left) {
        mLeft = left;
    }

    public String getUnitName() {
        return mUnitName;
    }

    public void setUnitName(String unitName) {
        mUnitName = unitName;
    }
}
